
cmake_minimum_required(VERSION 2.8.12)

project("generated_code")

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_EXTENSIONS OFF)

# Find requirements
find_package(fastcdr REQUIRED)
find_package(fastrtps REQUIRED)


message(STATUS "Configuring TestEvt...")
add_library(TestEvt_lib TestEvt.cxx)
target_link_libraries(TestEvt_lib fastcdr fastrtps)

add_executable(TestEvt TestEvtPubSubTypes.cxx TestEvtPublisher.cxx TestEvtSubscriber.cxx TestEvtPubSubMain.cxx)
target_link_libraries(TestEvt fastcdr fastrtps
        TestEvt_lib )



